package com.usian.admin.controller;

import com.usian.admin.service.impl.WemediaNewsAutoScanServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/")
public class AutoScanControllerTest {
    @Autowired
    private WemediaNewsAutoScanServiceImpl wemediaNewsAutoScanService;

    @GetMapping("auto/scan")
    public void AutoScan(Integer id){
        wemediaNewsAutoScanService.autoScanByMediaNewsId(id);
    }
}
